/*
 * Copyright 2025 The JA-SIG Collaborative. All rights reserved.
 * distributed with this file and available online at
 */
package com.lap.auth.application.header.command;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Data
@Schema(description = "创建列表头命令")
public class CreateHeaderCmd {

  @NotBlank(message = "{header.code.required}")
  @Length(max = 128, message = "{header.code.max.length}")
  @Schema(description = "表头编码")
  private String code;

  @Length(max = 2047, message = "{header.content.max.length}")
  @Schema(description = "表头内容")
  private String content;
}
